package com.wzq.design.business.base.dept.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.wzq.ssm.parent.base.entity.BaseTreeEntity;
import com.wzq.ssm.parent.tools.dataValid.DataValid;
import com.wzq.ssm.parent.tools.dataValid.DataValidEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * (BaseDept)实体类
 *
 * @author wangzhiqiang
 * @since 2023-06-20 11:02:10
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@TableName(value = "base_dept")
@DataValidEntity(valids = {@DataValid(filed = "parentId", tableName = "base_dept")})
public class BaseDept extends BaseTreeEntity<BaseDept> {
    /**
     * 部门名称
     */
    private String name;
    /**
     * 排序码
     */
    private Integer sortIndex;
}
